

package cn.shengchao.examstar.account.acl.ports.repositories;

import cn.shengchao.examstar.account.domain.BankCard;

import java.util.List;
import java.util.Optional;

public interface IBankCardRepository {
    void save(BankCard bankCard, long userId);

    void delete(long id);

    List<BankCard> findByUserId(long userId);

    Optional<BankCard> findById(String backCardId);
}
